{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>处理意见</h5>
                </div>
                <div class="ibox-content">
                    <div class="panel-body">
                        <div class="builder-tabs builder-form-tabs">
                        </div>
                        <div class="form-group"></div>
                        <div class="builder-container">
                        <div class="row">
                            <div class="col-xs-12">
                                <form class="form-horizontal" id="Group">
                                    <input type="hidden" name="feedback_id" value="{$feedback_id}">
                                    <div class="hr-line-dashed"></div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">处理意见：</label>
                                            <div class="input-group col-sm-4">
                                                    <textarea class="form-control" type="text" rows="8" name="feedback_dispose_content"></textarea>
                                            </div>
                                            <div class="hr-line-dashed"></div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-4 col-sm-offset-3">
                                                <a href="javascript:save();" class="btn btn-primary" ><i class="fa fa-save"></i> 保存信息</a>&nbsp;&nbsp;&nbsp;
                                            </div>
                                        </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
    function save(){
        $.ajax({
            url:"{:url('feedbackDispose')}",
            type:'post',
            data:$("#Group").serialize(),
            dataType:"json",
            success:function(data){
                if(data.code == 200){
                    wk.success(data.msg, "{:url('feedback/index')}");
                }else if(data.code == 100){
                    wk.error(data.msg, '','$(".layui-btn").removeClass(\'layui-disabled\').removeAttr(\'disabled\')');
                }
            }
        })
    }
</script>
</body>
</html>
